package com.ruoyi.biz.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作业对象 biz_work
 * 
 * @author lhb
 * @date 2025-02-24
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BizWork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long id;

    /** 作业标题 */
    @Excel(name = "作业标题")
    private String title;

    /** 作业内容 */
    @Excel(name = "作业内容")
    private String content;

    /** 作业附件 */
    @Excel(name = "作业附件")
    private String attachments;

    /** 截至时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截至时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upToTime;

    /** 其他说明 */
    @Excel(name = "其他说明")
    private String other;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    private String courseName; //课程名称

    /** 教师id */
    @Excel(name = "教师id")
    private Long teacherId;

    private String teacherName; // 教师名称

    /** 逻辑删除 */
    private Integer isDelete;
}
